public class Tractor implements OldMachineInterface {
    @Override
    public double getSensorData() {
        // 模拟传感器读取
        try {
            Thread.sleep(200);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return 42.5;
    }

    @Override
    public void startEngine() {
        // 模拟引擎启动
        try {
            Thread.sleep(500);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("拖拉机引擎已启动");
    }

    @Override
    public String getStatus() {
        // 模拟状态检查
        try {
            Thread.sleep(300);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "运行正常";
    }
}
